<?php
/* 

	In order to quickly show several samples of code, I'm creating a bootstrap that will 
	initialize some variables.
	
	(I am going to embark upon learning the 'framework way' of doing things in the near future)


	Date:	2012-14-03
	Author:	Cedric 	McMillan Junior




*/





# global variables and defines
require_once("common/globals.inc.php");

# common set of helper functions
require_once("common/common.inc.php");

# cache class
require_once("classes/cache.class.php");

# mysql class
require_once("classes/mysql.class.php");

# profiler
require_once("common/profiler.inc.php");


# this sets up the cache for the duration of the script
$gMysql	=	new Classes_Mysql();



$data	=	$gMysql->selectToArray("select * from dbase_sl_player_stats where team_id=1",__FILE__,__LINE__);




# this sets up the cache for the duration of the script
$gCacheObject	=	new Classes_Cache();



# current language we are using
$language			=		"en";

# create the language file
$fn					=		LANGUAGE_ARRAY_PATH		.	$language	.	".php";
# this will get the language array from the cache, or put it into the cache also
$gLanguageString	=	$gCacheObject->getOrSet(CACHE_TIME_TINY,"language","$language", "includeLanguageArray","$fn");




?>